package com.rc.saas.mini.model.platform;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" platform_task_setting ", description=" 定时任务设置表 ")
public class PlatformTaskSetting extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long platformTaskId;
 
    @ApiModelProperty(value = "定时任务名称")
    private String taskName;
 
    @ApiModelProperty(value = "定时任务类型")
    private String taskType;
 
    @ApiModelProperty(value = "项目名称")
    private String taskApplicationName;
 
    @ApiModelProperty(value = "执行任务所在IP")
    private String taskIp;
 
    @ApiModelProperty(value = "0启用 1停用 默认0")
    private String status;
 
    @ApiModelProperty(value = "执行总次数")
    private Long taskCount;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getPlatformTaskId() {
        return platformTaskId;
    }

    public void setPlatformTaskId(Long platformTaskId) {
        this.platformTaskId = platformTaskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getTaskApplicationName() {
        return taskApplicationName;
    }

    public void setTaskApplicationName(String taskApplicationName) {
        this.taskApplicationName = taskApplicationName;
    }

    public String getTaskIp() {
        return taskIp;
    }

    public void setTaskIp(String taskIp) {
        this.taskIp = taskIp;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(Long taskCount) {
        this.taskCount = taskCount;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
